Index: trunk/ippScripts/scripts/diff_skycell.pl
===================================================================
--- trunk/ippScripts/scripts/diff_skycell.pl	(revision 27215)
+++ trunk/ippScripts/scripts/diff_skycell.pl	(revision 27596)
@@ -102,4 +102,5 @@
 my $camera;                     # Camera
 my ($inputMagic, $templateMagic); # Are the inputs been magicked?
+my ($saveInConv, $saveRefConv);   # Save the input or reference convolved images?
 # Prescan to decide if this is or is not a stack stack diff. The check above confirms we only have two entries.
 if ((${ $files }[0]->{warp_id} == 0)&&
@@ -140,4 +141,5 @@
             $templateSources = "PSWARP.OUTPUT.SOURCES";
             $templateMagic = $file->{magicked};
+            $saveRefConv = 1;
         }
     } else {
@@ -162,4 +164,5 @@
             $inputVariance = "PSWARP.OUTPUT.VARIANCE";
             $inputSources = "PSWARP.OUTPUT.SOURCES";
+            $saveInConv = 1;
         }
     }
@@ -284,4 +287,6 @@
         $command .= " -ipprc $configurationReal";
     }
+    $command .= " -save-inconv" if defined $saveInConv;
+    $command .= " -save-refconv" if defined $saveRefConv;
     $command .= " -recipe PPSUB $recipe_ppSub";
     $command .= " -recipe PSPHOT $recipe_psphot";
