added emacs tool to generate maps