testing detect script