my edits to the script