Add command line support for stats