Comment out most of detect script, which doesn't seem to be working