make it possible to specify from cli how many times to run