Added capabilities for scanning and multimode aquisition, needs optimization