I'm installing a motion sensor in place of an existing light switch. The old light switch had 2 black wires and the motion sensor has 2 black wires, but the motion sensor also has a green ground wire. Which wire in the outlet box does this green ground wire attach to? Is it the bare copper wire?