changed --loadXML to remove scopes for secondary datasets