added second log treat script