add and edit script