Update detect_phone.sh