Modified assistant to avoid `command -v` for localhost