publish detections uses config files