Use a different command for scanning on mac.