Add scan_device