Updated error logging system and web scrape preprocessing