Index: trunk/ippconfig/recipes/psphot.config
===================================================================
--- trunk/ippconfig/recipes/psphot.config	(revision 39926)
+++ trunk/ippconfig/recipes/psphot.config	(revision 40034)
@@ -90,4 +90,7 @@
 # calculate difference stats?
 DIFF_STATS                          BOOL  FALSE
+
+# add backward chip mapping
+CHIP_PARAMS                         BOOL  TRUE
 
 # basic object statistics
@@ -687,5 +690,5 @@
 DIFF	METADATA
   DIFF_STATS			    BOOL TRUE	       # Calculate diff-specific stats
-  OUTPUT.FORMAT		            STR  PS1_DV3       # Format of output file
+  OUTPUT.FORMAT		            STR  PS1_DV5       # Format of output file
 
   # Extended source fit parameters
@@ -701,4 +704,25 @@
 END
 
+# Recipe overrides for STACK-STACK DIFF
+STACK_DIFF         METADATA
+  DIFF_STATS                        BOOL TRUE          # Calculate diff-specific stats
+  OUTPUT.FORMAT                     STR  PS1_DV5       # Format of output file
+
+  CHIP_PARAMS                       BOOL FALSE
+
+  # Extended source fit parameters
+  # these models are used for high-quality shape analysis after all sources have been removed
+  EXTENDED_SOURCE_FITS                BOOL  TRUE  # perform the detailed extended sourc fits?
+  EXT_MODEL                           STR   PS_MODEL_TRAIL
+
+  # extended source models applied to sources
+  EXTENDED_SOURCE_MODELS METADATA
+    TYPE      EXTENDED_SOURCE_MODEL  MODEL            SNLIM   PSF_CONVOLVED
+    TRAIL_RAW EXTENDED_SOURCE_MODEL  PS_MODEL_TRAIL    10.0   FALSE
+  END
+END
+
+
+
 # Recipe overrides for DIFF_PV3
 DIFF_PV3	METADATA
@@ -721,5 +745,5 @@
   PEAKS_NSIGMA_LIMIT_2              F32  3.5           # peak significance threshold -- MOPS would like to see 4.0->3.5 since ppMops fixed
   DIFF_STATS			    BOOL TRUE	       # Calculate diff-specific stats
-  OUTPUT.FORMAT		            STR  PS1_DV3       # Format of output file
+  OUTPUT.FORMAT		            STR  PS1_DV5       # Format of output file
 
   PSF_FIT_MODEL_SUM_FRAC_CUT        F32  0.5
