UPdated code for scrapes to be properly recorded