Update corescan.sh