Split run_all_params into two functions, one for all parameters that calls another for each single one