Updating stats script