add statistics script