Add scan command for ScanDevices tool