Made changes to the scripts