For my headlight mod with conventional lights, I cut the outlet from headlight fuse (used male and female bullet connectors to anable reconnection at any time if reqd), this is the feed for the change over relay which is only energised with ignition on and sidestand down.
Power to lights is through normally closed contacts.