Updated scan.py and README.md