added a runner to write out to file