Moved one-time logic to bash_profile. Also added to bash_profile commands to avoid extra manual changes in ~/.bash_profile