Index: trunk/ppImage/src/ppImage.c
===================================================================
--- trunk/ppImage/src/ppImage.c	(revision 6396)
+++ trunk/ppImage/src/ppImage.c	(revision 6747)
@@ -1,5 +1,5 @@
 #include <stdio.h>
 #include "pslib.h"
-#include "pmConcepts.h"
+#include "psmodules.h"
 #include "ppImage.h"
 #include "ppMem.h"
@@ -11,10 +11,9 @@
     ppImageData *data = ppImageDataAlloc();
     ppImageOptions *options = ppImageOptionsAlloc();
-    ppConfig *config = ppConfigAlloc();
 
     psTimerStart(TIMERNAME);
 
     // Parse the configuration and arguments
-    ppImageConfig(config, argc, argv);
+    pmConfig *config = ppImageConfig(argc, argv);
 
     // Open the input image, output image, output mask
@@ -26,6 +25,10 @@
     ppImageOptionsParse(data, options, config);
 
+#if 0
+    // XXX I think we do this in ppImageParseCamera
+
     // open detrend images, load headers, optionally load pixels
     ppImageParseDetrend(data, options, config);
+#endif
 
     // Image Arithmetic Loop
