[fix] fixes to scripts.