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