Index: trunk/ippScripts/scripts/magic_destreak.pl
===================================================================
--- trunk/ippScripts/scripts/magic_destreak.pl	(revision 24193)
+++ trunk/ippScripts/scripts/magic_destreak.pl	(revision 24197)
@@ -176,11 +176,10 @@
 
         foreach my $skycell (@$skycells) {
-            print $sfh "$skycell->{uri}\n"
+            my $skycell_uri = $ipprc->filename("PPSUB.OUTPUT", $skycell->{path_base});
+            print $sfh "$skycell_uri\n";
         }
         close $sfh;
     }
 }
-
-my $image = $uri;
 
 my ($image, $mask, $ch_mask, $weight, $astrom);
