clean up path and add emacs shortcuts