Rename detect.sh to detect