Changes to Emacs, scripts and bunch of stuff