out of the panel to a splice box. out of the box to the switch and out of the box to the lights. this way one cable to the switch will be the hot/switch leg.