Added script to collect stats