Moved out CreateProfileCommand