The default program prefix of freebsd is /usr/local, not /usr, so I suggest that just ignore the "run in config dir" feature, and just search for both of these prefixes.
FreeBSD has no mandb, and we dont need it.
Seldom freebsd user install bash under /bin. Just use /usr/bin/env bash instead for viewer.sh