Index: /trunk/ippScripts/scripts/detrend_process_imfile.pl
===================================================================
--- /trunk/ippScripts/scripts/detrend_process_imfile.pl	(revision 13945)
+++ /trunk/ippScripts/scripts/detrend_process_imfile.pl	(revision 13946)
@@ -62,5 +62,5 @@
 
 $reduction = "DETREND" unless defined $reduction;
-my $recipe = $ipprc->reduction($reduction, $det_type . '_PROCESS'); # Recipe name to use
+my $recipe = $ipprc->reduction($reduction, uc($det_type) . '_PROCESS'); # Recipe name to use
 
 # Look for programs we need
Index: /trunk/ippScripts/scripts/detrend_resid.pl
===================================================================
--- /trunk/ippScripts/scripts/detrend_resid.pl	(revision 13945)
+++ /trunk/ippScripts/scripts/detrend_resid.pl	(revision 13946)
@@ -71,7 +71,7 @@
 my $recipe;			# Name of recipe to use
 if ($mode eq 'master') {
-    $recipe = $det_type . '_RESID';
+    $recipe = uc($det_type) . '_RESID';
 } elsif ($mode eq 'verify') {
-    $recipe = $det_type . '_VERIFY';
+    $recipe = uc($det_type) . '_VERIFY';
 } else {
     &my_die("Unrecognised mode: $mode", $det_id, $iter, $exp_tag, $class_id, $PS_EXIT_PROG_ERROR);
Index: /trunk/ippScripts/scripts/detrend_stack.pl
===================================================================
--- /trunk/ippScripts/scripts/detrend_stack.pl	(revision 13945)
+++ /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
