Index: /branches/pap_branch_080320/ippScripts/scripts/detrend_stack.pl
===================================================================
--- /branches/pap_branch_080320/ippScripts/scripts/detrend_stack.pl	(revision 17165)
+++ /branches/pap_branch_080320/ippScripts/scripts/detrend_stack.pl	(revision 17166)
@@ -170,5 +170,5 @@
 my $logDest     = $ipprc->filename("LOG.IMFILE",     $outroot, $class_id) or &my_die("Missing entry in file rules", $det_id, $iter, $class_id, $PS_EXIT_CONFIG_ERROR); # Log messages
 
-$command = "$ppMerge $listName $outputStack"; # Command to run
+$command = "$ppMerge $listName $outroot"; # Command to run
 $command .= " -recipe PPMERGE $recipe";
 $command .= ' -type ' . uc($det_type); # Type of stacking to perform
