improve weather script performace