fixing scripts;