Refactor the generate_runs command

Refactor the generate_runs command so that instead of searching for parameters in the same order, it searches parameters by their names. It should also give a warning message if some parameters are not found.