Create system_detect.sh