Index: trunk/MagicSoft/Mars/datacenter/macros/insertdataset.C
===================================================================
--- trunk/MagicSoft/Mars/datacenter/macros/insertdataset.C	(revision 9249)
+++ trunk/MagicSoft/Mars/datacenter/macros/insertdataset.C	(revision 9278)
@@ -102,5 +102,6 @@
         return 0;
 
-    vals = Form("fDataSetNumber='%s', fDataSetInserted=Now()", number.Data());
+    vals = Form("fDataSetNumber='%s', fPriority='%s', fDataSetInserted=Now()",
+                number.Data(), number.Data());
     rc = serv.Insert("DataSetProcessStatus", vals);
 
Index: trunk/MagicSoft/Mars/datacenter/macros/plotoptical.C
===================================================================
--- trunk/MagicSoft/Mars/datacenter/macros/plotoptical.C	(revision 9249)
+++ trunk/MagicSoft/Mars/datacenter/macros/plotoptical.C	(revision 9278)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: plotoptical.C,v 1.10 2008-08-15 12:14:52 dorner Exp $
+! $Name: not supported by cvs2svn $:$Id: plotoptical.C,v 1.11 2009-01-27 13:56:15 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -191,5 +191,5 @@
     plotalloptical(plot, source);
     // Use this to create output plots automatically
-    //  d->SaveAsRoot("plotoptical.root");
+    d->SaveAsRoot("plotoptical.root");
     //  d->SaveAsPS("plotoptical.ps");
 
@@ -222,5 +222,5 @@
     plotalloptical(plot, source);
     // Use this to create output plots automatically
-    //  d->SaveAsRoot(plot+"plotoptical.root");
+    d->SaveAsRoot("plotoptical.root");
     //  d->SaveAsPS("plotoptical.ps");
 
@@ -254,5 +254,5 @@
 
     // Use this to create output plots automatically
-    //  d->SaveAsRoot("plotoptical.root");
+    d->SaveAsRoot("plotoptical.root");
     //  d->SaveAsPS("plotoptical.ps");
 
