Tweaked the reducer to output PNG results