Added the saving of the actual metadataurl used