Do not rely on `which`, ever.

Creates a new helper function to locate executables and return the full path if it exists. It also cleans up all other locations where some other method was used, removing complicated workarounds that should just rely on `which`