Adding printout to GatherResults.scala.