path add .profile auto with if check