edit-note script