fix scan.py for crawl directory
merge