I need to wire an outside light with built in PIR, the light has 4 terminals earth, neutral, live and switched live, coming out of the wall is live, neutral earth feed in & out and a live and switched live direct from inside switch. how do I wire it in order for light & PIR to work and does the switch have to be constantly in the on position in order for everything to work ?