fixing scripts dependencies