It is preferred (safety) to install the switch on the hot side (narrow prong) of the line, otherwise there is a shock hazard when changing bulbs. If you have already installed the switch on the wrong line, you can reverse the plug on the end and change wires on bulb socket??