Index: trunk/src/tmcsim/simulationmanager/SimulationManagerView.java
===================================================================
--- trunk/src/tmcsim/simulationmanager/SimulationManagerView.java	(revision 9)
+++ trunk/src/tmcsim/simulationmanager/SimulationManagerView.java	(revision 47)
@@ -866,4 +866,5 @@
         paramicsStatusLabel     = new JLabel("Status:");
         paramicsStatusInfoLabel = new JLabel("Unknown");
+        paramicsStatusInfoLabel.setName("paramicsStatusInfoLabel");
         paramicsStatusBox.add(paramicsStatusLabel);
         paramicsStatusBox.add(Box.createHorizontalStrut(10));
Index: trunk/src/tmcsim/simulationmanager/SimulationManager.java
===================================================================
--- trunk/src/tmcsim/simulationmanager/SimulationManager.java	(revision 33)
+++ trunk/src/tmcsim/simulationmanager/SimulationManager.java	(revision 47)
@@ -9,9 +9,8 @@
 import java.util.logging.Level;
 import java.util.logging.Logger;
-
 import javax.swing.JOptionPane;
 import javax.swing.UIManager;
-
 import tmcsim.common.CADEnums.PARAMICS_STATUS;
+import tmcsim.common.ScriptException;
 import tmcsim.common.SimulationException;
 
@@ -48,5 +47,5 @@
 
     private static final String CONFIG_FILE_NAME = "sim_manager_config.properties";
-	/**
+    /**
      * Error logger.
      */
@@ -192,18 +191,35 @@
 
     /**
+     * Load a simulation script from the specified file.
+     *
+     * @param scriptFile the XML file containing the simulation control script
+     * to be run.
+     * @throws ScriptException if the script throws an exception
+     * @throws SimulationException if the simulation throws an exception
+     */
+    public void loadScript(File scriptFile) throws ScriptException, SimulationException
+    {
+        theSimManagerModel.loadScript(scriptFile);
+    }
+
+    /**
      * Main class.
      *
      * @param args Command line arguments.
      */
-    static public void main(String[] args) {
+    static public void main(String[] args)
+    {
         //System.setProperty("swing.defaultlaf", "com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
-    	if(System.getProperty("CONFIG_DIR") == null){
-        	System.setProperty("CONFIG_DIR", "config");
-        }
-    	
-        try {           
-        	UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
+        if (System.getProperty("CONFIG_DIR") == null)
+        {
+            System.setProperty("CONFIG_DIR", "config");
+        }
+
+        try
+        {
+            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
             new SimulationManager(System.getProperty("CONFIG_DIR") + System.getProperty("file.separator") + CONFIG_FILE_NAME);
-        } catch (Exception e) {
+        } catch (Exception e)
+        {
             simManLogger.logp(Level.SEVERE, "SimulationManager", "Main",
                     "Error occured initializing application", e);
