Made changes to scripts