INST: replaced "source .bash_profile" with ". .bash_profile" for compatibility with osx