changed runner to write to log files