Add argument to the number of times run and the delay between runs