Several improvements, largest of which allows script to only scrape data that hasn't been scraped yet.