initial version of cgminer PGA statistic script