Updated to take options for what to scan.