update to make it run for scrapy