Fix up the perkeyavg example