updated editor.sh