Index: trunk/ppImage/src/ppImageLoop.c
===================================================================
--- trunk/ppImage/src/ppImageLoop.c	(revision 6849)
+++ trunk/ppImage/src/ppImageLoop.c	(revision 7508)
@@ -37,11 +37,6 @@
 		ppImageDetrendReadout (options, config, view);
 
-		if (options->doBin1) {
-		    ppImageRebinReadout (config, view, "PPIMAGE.BIN1");
-		}
-
-		if (options->doBin2) {
-		    ppImageRebinReadout (config, view, "PPIMAGE.BIN2");
-		}
+		if (options->doBin1) ppImageRebinReadout (config, view, "PPIMAGE.BIN1");
+		if (options->doBin2) ppImageRebinReadout (config, view, "PPIMAGE.BIN2");
 
 		pmFPAfileIOChecks (config->files, view, PM_FPA_AFTER);
@@ -51,6 +46,7 @@
 
 	// ppImageChipMosaic (config, view);
-	// ppImagePSPhot (config, view);
-	// ppImagePSAstro (config, view);
+
+	// we perform photometry on the readouts of this chip in the output
+	ppImagePhotom (config, view);
 
 	pmFPAfileIOChecks (config->files, view, PM_FPA_AFTER);
@@ -66,4 +62,6 @@
     }
 
+    // ppImageAstrom (config);
+    
     // ppImageFPAMosaic (config, view);
     // ppImageJpegFPA (config, view);
@@ -75,2 +73,4 @@
 }
 
+// input image is: PPIMAGE.INPUT
+// output image is: PPIMAGE.OUTPUT
