[Oh, the green is ground, white is +/hot and black is -/ground]

ack! green is ground, but the white wire is the neutral, and the black wire is hot. you always want to match these up, and you want to switch the black (hot) wire.

on the socket you're wiring inside, the hot (black) wire should connect to the narrower of the two slots.

see, i have learned a couple of things while rebuilding a 90-year old house.

--dan.