public void addTerminationScript(String pathname){
  _terminationScripts.add(pathname);
  setDirtyAndFirePropertyChange("addTerminationScript",pathname,null);
}

public void addTerminationScript ( String pathname ) { _terminationScripts . add ( pathname ) ; setDirtyAndFirePropertyChange ( "addTerminationScript" , pathname , null ) ; }
add a script to run when train is terminated
