Slightly improved the searching for the acd_func using the builtin
"command -v"