Tweak to handling of .profile settings