Half done adding AISMartScan(). Still not wrapping properly for scanning.