Added condition codes to weather script