renamed weather script. Bug and style fixes