added stats scripts