Circuit for using photo optic switch to switch 12 volts

Finally Found what I was looking for… A simple circuit to enable me to set up an optical switch…