adding stats generation script