Update check.sh