Edits to script