Cleaning the script