Fix rate updating scrip