Made number of runs configurable.