print final stats at end of run