emit stats instead of console logging
v0.0.5