Adding some changes to editor.sh