edits to script