Create smartscheck.sh