edit script purpose