torify check changed to command -v to be POSIX compatible