Deleting the temporary file of script