Index: trunk/ippScripts/scripts/dist_component.pl
===================================================================
--- trunk/ippScripts/scripts/dist_component.pl	(revision 30489)
+++ trunk/ippScripts/scripts/dist_component.pl	(revision 30922)
@@ -37,5 +37,5 @@
 # Parse the command-line arguments
 my ($dist_id, $camera, $stage, $stage_id, $component, $path_base, $chip_path_base, $clean, $alt_path_base);
-my ($outdir, $run_state, $data_state, $magicked, $no_magic, $poor_quality);
+my ($outdir, $run_state, $data_state, $magicked, $no_magic, $poor_quality, $exp_type);
 my ($dbname, $save_temps, $verbose, $no_update, $logfile);
 
@@ -53,4 +53,5 @@
            'no_magic'       => \$no_magic,   # magic is not required for this distribution run
            'magicked'       => \$magicked,   # magicked state for this component
+           'exp_type=s'     => \$exp_type,
            'alt_path_base=s'=> \$alt_path_base,  # path to alternate inputs
            'outdir=s'       => \$outdir,     # "directory" for outputs
@@ -81,6 +82,6 @@
 $temproot = "/tmp" if !defined $temproot;
 
-if (($stage eq 'raw') and !$clean and !defined $chip_path_base) {
-    pod2usage( -msg => "Required options: --chip_path_base for raw stage", -exitval => 3);
+if (($stage eq 'raw') and !$clean and !(defined $chip_path_base and defined $exp_type)) {
+    pod2usage( -msg => "Required options: --chip_path_base --exp_type for raw stage", -exitval => 3);
 }
 
@@ -105,4 +106,5 @@
     $command .= " --magicked" if defined $magicked;
     $command .= " --alt_path_base $alt_path_base" if defined $alt_path_base;
+    $command .= " --exp_type $exp_type" if defined $exp_type;
     $command .= " --clean" if defined $clean;
     $command .= " --save-temps" if defined $save_temps;
