edits to script3