script for printing pooled results