improvement to language scraper