Red and Black from the switch go to power and ground, Green and white from the switch go to Red and White on the cutout