Index: trunk/ippScripts/scripts/lap_science.pl
===================================================================
--- trunk/ippScripts/scripts/lap_science.pl	(revision 32435)
+++ trunk/ippScripts/scripts/lap_science.pl	(revision 32437)
@@ -1223,5 +1223,5 @@
     if (defined($queue_list)) {
 	my $successful = 1;
-	open(Q,$queue_list) || $successful = 0;
+	open(Q,$queue_list) or ($successful = 0);
 	if ($successful == 1) {
 	    while(<Q>) {
@@ -1229,14 +1229,14 @@
 		my $cmd = $_;
 		my ($projection_cell,$seq_id,$filter,$label);
-		$projection_cell = $define_cmd;
+		$projection_cell = $cmd;
 		$projection_cell =~ s/.*?-projection_cell (skycell.\w+?) .*/$1/;
-		$seq_id = $define_cmd;
+		$seq_id = $cmd;
 		$seq_id =~ s/.*-seq_id (\d+?) .*/$1/;
-		$filter = $define_cmd;
+		$filter = $cmd;
 		$filter =~ s/.*-filter (\w\.00000) .*/$1/;
 		if ($filter =~ /\s+?/) {
 		    $filter =~ s/.*-filter (\w\.00000)$/$1/;
 		}
-		$label = $define_cmd;
+		$label = $cmd;
 		$label =~ s/.*-label (.+?) .*/$1/;
 		
