save the script