Sorry I was wrong, I was looking at the switch in the box. The switch to be removed was hot shown in the picture. If that's the case, connect the ground to the box with a bare wire, connect the hot (black) to one post in the switch and the light (red? I'm colour bland) to the other one.