edit script error