double balance = Double.parseDouble(scenario.getAttribute("balance"));
int psgSatisfaction = Integer.parseInt(scenario.getAttribute("satisfaction"));
//Now create the scenario object.
Scenario myScenario = createScenarioObject(scenarioName, playerName, balance, psgSatisfaction);
//Seventhly, create the simulation object.
theSimulator = new Simulator(myScenario, document.getDocumentElement().getAttribute("time"), Integer.parseInt(document.getDocumentElement().getAttribute("increment")));
//Set the difficulty level.
theSimulator.setDifficultyLevel(document.getDocumentElement().getAttribute("difficulty"));
//Now add the messages!!!!
NodeList messageNode = (NodeList) xpath.evaluate("//scenario/message", document.getDocumentElement(), XPathConstants.NODESET);
for ( int i = 0; i < messageNode.getLength(); i++ ) {