Index: trunk/ippScripts/scripts/detrend_stack.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_stack.pl	(revision 13937)
+++ trunk/ippScripts/scripts/detrend_stack.pl	(revision 13946)
@@ -63,5 +63,5 @@
 # Recipes to use as a function of detrend type
 $reduction = "DETREND" unless defined $reduction;
-my $recipe = $ipprc->reduction($reduction, $det_type . '_STACK'); # Recipe name to use
+my $recipe = $ipprc->reduction($reduction, uc($det_type) . '_STACK'); # Recipe name to use
 
 # Look for programs we need
