Update .emacs to export index file