re-organized profile/bashrc handling