fixed emacs.env generation and bootstrapping.sh