make nb_executors a config param