setting up the sun script