added script to control light array
got machine rigged up