Add check to ensure profile requested is in config