Rearranged profile, bash_profile and bashrc to handle different initialization cases