photocell script and some directory changes