Code for Sky Cam