modified crawl.py