Index: trunk/ippScripts/scripts/detrend_resid.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_resid.pl	(revision 15613)
+++ trunk/ippScripts/scripts/detrend_resid.pl	(revision 15616)
@@ -113,4 +113,6 @@
     'fringe'   => '-fringe',	# Specify the fringe frame
     'mask'     => '-mask',	# Specify the mask frame
+    'darkmask' => '-mask',	# Specify the mask frame
+    'flatmask' => '-mask',	# Specify the mask frame
 };
 
