def METHOD_NAME(user_config):
  config = configs.LoadConfig(BENCHMARK_CONFIG, user_config, BENCHMARK_NAME)
  if FLAGS['num_vms'].present:
    config['vm_groups']['slaves']['vm_count'] = FLAGS.num_vms
  return config