changes to resources.py