Fixed loading of resources, not based on locations.