this should have never gotten in here
Debian-based systems don't seem to grok `which`
falling back to `type` instead
updating to work on Linux Mint