Index: trunk/ippScripts/scripts/magic_destreak.pl
===================================================================
--- trunk/ippScripts/scripts/magic_destreak.pl	(revision 32870)
+++ trunk/ippScripts/scripts/magic_destreak.pl	(revision 32917)
@@ -185,5 +185,7 @@
 }
 
-my $statsFile = "$outroot/$exp_id.mds.$magic_ds_id.$stage_id.$component.stats";
+# XXX: create a DESTREAK file rule. For now just steal one that will work
+my $error;
+my $statsFile = $ipprc->prepare_output("PSASTRO.STATS", "$outroot/$exp_id.mds.$magic_ds_id.$stage_id.$component", undef, 1, \$error) or &my_die("failed to prepare output for stats", $magic_ds_id, $component, $error);
 
 my $backup_path_base;
@@ -258,5 +260,6 @@
                     my $skycell_uri;
                     $skycell->{quality} = undef;
-                    if ($skycell->{data_state} eq "full" and $skycell->{quality} == 0) {
+		    # XXXXXXXX remake all skycells to avoid dead instances (ipp064)
+                    if (0 and $skycell->{data_state} eq "full" and $skycell->{quality} == 0) {
                         $skycell_uri = $ipprc->filename("PPSUB.OUTPUT", $skycell->{path_base});
 			my $skycell_id = $skycell->{skycell_id};
