edit script file