added commenting to and renamed scrape_complete