Index: /trunk/ippScripts/scripts/dist_bundle.pl
===================================================================
--- /trunk/ippScripts/scripts/dist_bundle.pl	(revision 29062)
+++ /trunk/ippScripts/scripts/dist_bundle.pl	(revision 29063)
@@ -154,5 +154,5 @@
 #   2. magic is not required for this distRun
 #   3. the processing for the component produced no images (warp or diff with bad quality for example)
-my $nan_masked_pixels = ! ($clean || (($stage eq "camera") || ($stage eq 'fake') || ($stage eq 'stack')) || $no_magic || $poor_quality);
+my $nan_masked_pixels = ! ($clean || (($stage eq "camera") || ($stage eq 'fake') || ($stage eq 'stack') || ($stage eq 'sky')) || $no_magic || $poor_quality);
 
 my ($image, $mask, $variance);
Index: /trunk/ippScripts/scripts/staticsky.pl
===================================================================
--- /trunk/ippScripts/scripts/staticsky.pl	(revision 29062)
+++ /trunk/ippScripts/scripts/staticsky.pl	(revision 29063)
@@ -71,4 +71,5 @@
 $ipprc->redirect_output($logDest) or my_die( "Unable to redirect output", $sky_id, $PS_EXIT_SYS_ERROR ) if $redirect;
 
+my $traceDest      = $ipprc->filename("TRACE.EXP", $outroot);
 # my $source_id = $ipprc->source_id($dbname, $PS_TABLE_ID_STATICSKY);
 
@@ -164,5 +165,5 @@
     $command .= " -recipe PSPHOT $recipe_psphot";
     $command .= " -dumpconfig $configuration";
-    # $command .= " -tracedest $traceDest -log $logDest";
+    $command .= " -tracedest $traceDest -log $logDest";
     # $command .= " -dbname $dbname" if defined $dbname;
     # $command .= " -image_id $diff_skyfile_id" if defined $diff_skyfile_id;
