updated scraper code