add script to print stats using php-mpos apis