add stats collection to production