added support for stats.m
did some debugging then removed verbose