Update smartscheck.sh