statistics script added