cleaning the script