a lot of switches come with a sheet of paper inside the pack which shows you how to wire each switch, depending on the original installer the lights may be mid circuit or if you are really lucky they are the last light on the circuit either way you will need to remove the light from the circuit...