fixing scripts.