Fixing bash profile / bashrc incompatabilities