Index: /branches/eam_branches/ipp-20140423/psastro/src/psastroArguments.c
===================================================================
--- /branches/eam_branches/ipp-20140423/psastro/src/psastroArguments.c	(revision 36824)
+++ /branches/eam_branches/ipp-20140423/psastro/src/psastroArguments.c	(revision 36825)
@@ -111,4 +111,7 @@
         }
         psMetadataAddBool (config->arguments, PS_LIST_TAIL, "PSASTRO.SKIP.ASTRO", PS_META_REPLACE, "", true);
+
+	// SKIP.ASTRO and USE.MODEL are fundamentally incompatible
+        psMetadataAddBool (config->arguments, PS_LIST_TAIL, "PSASTRO.USE.MODEL", PS_META_REPLACE, "", false);
     }
 
Index: /branches/eam_branches/ipp-20140423/psastro/src/psastroConvert.c
===================================================================
--- /branches/eam_branches/ipp-20140423/psastro/src/psastroConvert.c	(revision 36824)
+++ /branches/eam_branches/ipp-20140423/psastro/src/psastroConvert.c	(revision 36825)
@@ -451,5 +451,10 @@
     float Xfix = Xraw + dX / myPltScale;
 
+    // note that we carry around pix, cell, chip but the real analysis only operates on chip
+    // if in the future we add transformations between chip->cell->pix, then we will need to
+    // make these consistent as well.
     obj->pix->x = Xfix;
+    obj->cell->x = Xfix;
+    obj->chip->x = Xfix;
   }
 
Index: /branches/eam_branches/ipp-20140423/psastro/src/psastroDataLoad.c
===================================================================
--- /branches/eam_branches/ipp-20140423/psastro/src/psastroDataLoad.c	(revision 36824)
+++ /branches/eam_branches/ipp-20140423/psastro/src/psastroDataLoad.c	(revision 36825)
@@ -42,21 +42,4 @@
     }
 
-    // apply Koppenhoeffer correction to this exposure?
-    bool applyKH = psMetadataLookupBool (NULL, recipe, "KH.CORRECT.APPLY.EXP");
-    if (applyKH) {
-	// make sure the KH correction file is loaded.  de-activate all files except PSASTRO.KH.CORRECT
-	pmFPAfileActivate (config->files, false, NULL);
-	pmFPAfileActivate (config->files, true, "PSASTRO.KH.CORRECT");
-
-	pmFPAview *viewKH = pmFPAviewAlloc (0);
-
-	// files associated with the science image
-	if (!pmFPAfileIOChecks (config, viewKH, PM_FPA_BEFORE)) {
-	    psError (PS_ERR_IO, false, "Can't load the Koppenhoeffer Correction file");
-	    return false;
-	}
-	psFree (viewKH);
-    }
-
     // select the input data sources
     pmFPAfile *input = psMetadataLookupPtr (NULL, config->files, "PSASTRO.INPUT");
@@ -69,4 +52,10 @@
     pmFPAfileActivate (config->files, false, NULL);
     pmFPAfileActivate (config->files, true, "PSASTRO.INPUT");
+
+    // if we request KH Correction, activate that file as well
+    bool applyKH = psMetadataLookupBool (NULL, recipe, "KH.CORRECT.APPLY.EXP");
+    if (applyKH) {
+	pmFPAfileActivate (config->files, true, "PSASTRO.KH.CORRECT");
+    }
 
     pmFPAview *view = pmFPAviewAlloc (0);
Index: /branches/eam_branches/ipp-20140423/psastro/src/psastroDefineFiles.c
===================================================================
--- /branches/eam_branches/ipp-20140423/psastro/src/psastroDefineFiles.c	(revision 36824)
+++ /branches/eam_branches/ipp-20140423/psastro/src/psastroDefineFiles.c	(revision 36825)
@@ -72,4 +72,5 @@
 	    psLogMsg ("psastro", PS_LOG_INFO, "Koppenhoefer correction requested, exposure in valid date range, correction may be applied");
 	}   
+	psFree (endtime);
     }
     if (KHapply) {
