edits scripts file