test -e /usr/bin/which, use which otherwise

Also use _WHICH on ls.