abstracted common functions out of deps_check.sh