Updated ec script to exit immediatly after starting emacs