Changed to fetch resources from server