Index: trunk/tools/refstacktool
===================================================================
--- trunk/tools/refstacktool	(revision 30338)
+++ trunk/tools/refstacktool	(revision 31711)
@@ -40,5 +40,5 @@
     'fwhm_min=s'    => \$fwhm_min,
     'fwhm_max=s'    => \$fwhm_max,
-    'input_data_group'=> \$input_data_group,
+    'input_data_group=s'=> \$input_data_group,
     'n_inputs_min=i'=> \$n_inputs_min,
     'n_inputs_max=i'=> \$n_inputs_max,
@@ -149,4 +149,5 @@
     $command .= " -set_tess_id $tess_id";
     $command .= " -set_end_stage $end_stage";
+    $command .= " -set_reduction $reduction" if $reduction;
 
     $command .= " -pretend -simple" if $pretend;
