Photo interrupter script is fixed!