Update ScannerFunctions.py