The help text is written to a variable `USAGE`, but that variable is never referenced anywhere. It looks like the `check_arguments` function meant to `echo "$USAGE"` (or something like that), but instead it's calling an undefined function `usage`.