profile update to work with older bashes