generic-check.sh