Update check.sh.