Index: trunk/ippScripts/scripts/magic_definerun.pl
===================================================================
--- trunk/ippScripts/scripts/magic_definerun.pl	(revision 20822)
+++ trunk/ippScripts/scripts/magic_definerun.pl	(revision 20823)
@@ -31,5 +31,5 @@
 
 # Parse the command-line arguments
-my ($exp_id, $warp_id, $min_diff_id, $workdir, $dbname, $save_temps, $verbose);
+my ($exp_id, $warp_id, $min_diff_id, $label, $workdir, $dbname, $save_temps, $verbose);
 
 GetOptions(
@@ -37,4 +37,5 @@
            'warp_id=s'       => \$warp_id,    # warp identifier
            'min_diff_id=s'   => \$min_diff_id, # minimum diff id to consider
+           'label=s'         => \$label,      # label for images of interest
            'dbname=s'        => \$dbname,     # Database name
            'workdir=s'       => \$workdir,    # workdir
@@ -145,4 +146,5 @@
 {
     my $command = "$magictool -definerun -exp_id $exp_id -workdir $workdir -simple";
+    $command .= " -label $label" if defined $label;
     $command .= " -dbname $dbname" if defined $dbname;
 
