added chpwd function to auto activate python and nodejs environments