updated scrape script