 int max_budget = toint(argv("mb", "110"));
 int max_iterations = toint(argv("mi", "10"));
 int design_size = toint(argv("ds", "10"));
-
-
-
+file model_script = input("%s/scripts/run_model.sh" % (emews_root));
 string param_set = argv("param_set_file");
 
 string code_template =

max.budget = %d, max.iterations = %d, design.size=%d, propose.points=%d, param.set.file='%s'
""";

(string obj_result) obj(string params, string iter_indiv_id) {
  string outdir = "%s/run_%s" % (turbine_output, iter_indiv_id);
  string code = code_template % (params, outdir);
  make_dir(outdir) =>
  obj_result = python_persist(code, "str(validation_loss)");
  printf(obj_result);
}


    // Retrieve arguments to this script here


    string algo_params = algo_params_template % (max_budget, max_iterations,
	design_size, propose_points, param_set);
    string algorithm = strcat(emews_root,"/R/mlrMBO3.R");
    EQR_init_script(ME, algorithm) =>
