updates to fetch.py