change path order and add sudo_editor
some changes made at lo-q