removed log in detection for sample script