if (!runInternal) runDirectly = false;
  public void localSetup() {         super.localSetup();    String hostName;    try {hostName = getMyParams().getStringParam("hostName");}        catch(Exception e) {hostName = "dante.bbn.com";}    try {runInternal = 	   getMyParams().getBooleanParam("runInternal");}        catch(Exception e) {runInternal = false;}    try {runDirectly = 	   getMyParams().getBooleanParam("runDirectly");}        catch(Exception e) {runDirectly = false;}    try {incrementalScheduling = 	   getMyParams().getBooleanParam("incrementalScheduling");}        catch(Exception e) {incrementalScheduling = false;}    try {showTiming = 	   getMyParams().getBooleanParam("showTiming");}        catch(Exception e) {  showTiming = true; }	    try {makeSetupAndWrapupTasks = 	   getMyParams().getBooleanParam("makeSetupAndWrapupTasks");}        catch(Exception e) {makeSetupAndWrapupTasks = true;}    try {useStoredFormat = getMyParams().getBooleanParam("useStoredFormat");}        catch(Exception e) {  useStoredFormat = false;	}    try {stopOnFailure = 	   getMyParams().getBooleanParam("stopOnFailure");}        catch(Exception e) {stopOnFailure = false;}    // how many of the input tasks to use as templates when producing the     // OBJECT FORMAT for tasks    try {firstTemplateTasks = getMyParams().getIntParam("firstTemplateTasks");}        catch(Exception e) {firstTemplateTasks = 2;}    domUtil = createVishnuDomUtil ();    comm    = createVishnuComm ();    xmlProcessor = createXMLProcessor ();    config  = createVishnuConfig ();    localDidRehydrate = blackboard.didRehydrate ();	    // helpful for debugging connection configuration problems    if (runInternal) {      if (runDirectly) {	System.out.print (getName () + " - will run direct translation internal Vishnu Scheduler.");	resultHandler = createDirectResultHandler ();	mode = createDirectMode ();      }      else {	System.out.print (getName () + " - will run internal Vishnu Scheduler.");	resultHandler = createXMLResultHandler ();	mode = createInternalMode ();      }      if (incrementalScheduling)	System.out.print (" - incrementally - ");    }    else {      System.out.print (getName () + " - will try to connect to Vishnu Web Server : " + 			hostName + ".");      resultHandler = createXMLResultHandler ();      mode = createExternalMode ();    }    if (useStoredFormat)      System.out.println (" Will send stored object format.");    else      System.out.println ("");  }