Index: /trunk/ppSmooth/src/ppSmoothArguments.c
===================================================================
--- /trunk/ppSmooth/src/ppSmoothArguments.c	(revision 26007)
+++ /trunk/ppSmooth/src/ppSmoothArguments.c	(revision 26008)
@@ -66,4 +66,11 @@
         psArgumentRemove (argnum, &argc, argv);
     }
+    //    XXX ADD this in?
+    if ((argnum = psArgumentGet(argc, argv, "-dumpconfig"))) {
+        psArgumentRemove(argnum, &argc, argv);
+        psMetadataAddStr(config->arguments, PS_LIST_TAIL, "DUMP_CONFIG", PS_META_REPLACE,
+                         "Filename for configuration dump", argv[argnum]);
+        psArgumentRemove(argnum, &argc, argv);
+    }
 
     if (argc != 2) usage ();
@@ -71,4 +78,6 @@
     // Add the input and output images (which remain on the command-line) to the arguments list
     psMetadataAddStr(config->arguments, PS_LIST_TAIL, "OUTPUT", 0, "Name of the output image", argv[1]);
+
+
 
     return config;
@@ -89,10 +98,3 @@
     // }
 
-    // XXX ADD this in?
-    // if ((argnum = psArgumentGet(argc, argv, "-dumpconfig"))) {
-    //     psArgumentRemove(argnum, &argc, argv);
-    //     psMetadataAddStr(config->arguments, PS_LIST_TAIL, "DUMP_CONFIG", PS_META_REPLACE,
-    //                      "Filename for configuration dump", argv[argnum]);
-    //     psArgumentRemove(argnum, &argc, argv);
-    // }
 
Index: /trunk/ppSmooth/src/ppSmoothLoop.c
===================================================================
--- /trunk/ppSmooth/src/ppSmoothLoop.c	(revision 26007)
+++ /trunk/ppSmooth/src/ppSmoothLoop.c	(revision 26008)
@@ -88,4 +88,12 @@
     psFree(view);
 
+    psString dump_file = psMetadataLookupStr(&status, config->arguments, "DUMP_CONFIG");
+    if (dump_file) {
+      if (!pmConfigDump(config, dump_file)) {
+	ESCAPE("Unable to dump configuration.");
+      }
+    }
+
+
     return true;
 }
Index: /trunk/ppSmooth/src/ppSmoothReadout.c
===================================================================
--- /trunk/ppSmooth/src/ppSmoothReadout.c	(revision 26007)
+++ /trunk/ppSmooth/src/ppSmoothReadout.c	(revision 26008)
@@ -35,5 +35,8 @@
     float minGauss = 0.1;
     float nSigma = 3.0;
-    float sigma = psMetadataLookupF32 (&status, recipe, "SIGMA");
+    float sigma;
+    if (!(sigma = psMetadataLookupF32(&status,config->arguments,"SIGMA"))) {
+      sigma = psMetadataLookupF32 (&status, recipe, "SIGMA");
+    }
 
     bool oldThreads = psImageConvolveSetThreads(true); // Old value of threading in psImageConvolve
