write to correct .bash_profile