Index: trunk/Ohana/src/opihi/dvo/fitsed.c
===================================================================
--- trunk/Ohana/src/opihi/dvo/fitsed.c	(revision 7681)
+++ trunk/Ohana/src/opihi/dvo/fitsed.c	(revision 7688)
@@ -44,5 +44,5 @@
   KapaSection magSection, resSection;
 
-  Catalog catalog;
+  Catalog catalog, outcat;
   SkyList *skylist;
   SEDtableRow *SEDtableRaw, **SEDtable;
@@ -55,4 +55,9 @@
   catalog.measure = NULL;
   catalog.secfilt = NULL;
+
+  outcat.average = NULL;
+  outcat.measure = NULL;
+  outcat.secfilt = NULL;
+
   SEDtable = NULL;
   SEDtableRaw = NULL;
@@ -81,4 +86,11 @@
     remove_argument (N, &argc, argv);
     PLOT = TRUE;
+  }
+
+  SAVEDIR = NULL;
+  if ((N = get_argument (argc, argv, "-save"))) {
+    remove_argument (N, &argc, argv);
+    SAVEDIR = strcreate (argv[N]);
+    remove_argument (N, &argc, argv);
   }
 
