Updated weatherclock code