add .bash_profile
change source order and update docs