initScraper.py updated with David's code