Fixed weather script.

Added method to get weather data.