added environment settings and proog reading in emacs