Removed unnecessary lines from scan.py