ScenarioXml is now a local variable to avoid multiple objects