Turning on switch turns on plug