Update scanner.py

Lots of blind commits... testing soon