added scripts for gathering statistics