Adding support for multiple stats generation