removed autocomputing of resource_name. Not sure resource_name is required at all.