create photossensor script that outputs value to file, set up autostart scripts