Index: /trunk/ippScripts/scripts/magic_destreak.pl
===================================================================
--- /trunk/ippScripts/scripts/magic_destreak.pl	(revision 30327)
+++ /trunk/ippScripts/scripts/magic_destreak.pl	(revision 30328)
@@ -194,10 +194,12 @@
         # if recoveryroot is a nebulous path we ignore the actual path and put the files in the
         # the same "directory" as the input files
-        $recoveryroot = $dirname;
+        $recoveryroot = "$dirname/REC_";
+        $recovery_path_base = $recoveryroot . $basename;
     } else {
-        # otherwise we put the files in recoveryroot. Regardless, we prefix the basename with 'REC_'
+        # otherwise we put the files in recoveryroot.
+        # Regardless, we prefix the basename with 'REC_'
         $ipprc->outroot_prepare($recoveryroot);
-    }
-    $recovery_path_base = "$recoveryroot/REC_$basename";
+        $recovery_path_base = "$recoveryroot/REC_$basename";
+    }
 }
 
