Added missing 'which' command to unless