Modified docstring for scan.py