Added emacs
Added debug flag