pass runner, writer to do_experiment

also, change ordering of arguments to do_experiments to match do_experiment