Finish the rename to external_resource

At the moment the resource will not work due to the mix of type name and directory path. This will make the actual type work.