Index: trunk/ippScripts/scripts/automate_stacks.pl
===================================================================
--- trunk/ippScripts/scripts/automate_stacks.pl	(revision 34010)
+++ trunk/ippScripts/scripts/automate_stacks.pl	(revision 35211)
@@ -117,5 +117,5 @@
 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV;
 pod2usage(
-          -msg => "Choose a mode: --check_registration --check_burntool --queue_chips --queue_stacks",
+          -msg => "Choose a mode: --check_registration --check_burntool --queue_chips --queue_stacks --dbname",
           -exitval => 3,
           ) unless
@@ -124,5 +124,5 @@
     defined $check_chips or defined $check_stacks or $check_sweetspot or $check_detrends or $check_dqstats or
     defined $test_mode or defined $clean_old or defined $check_mode or
-    defined $confirm_stacks or defined $burntool_stats;
+    defined $confirm_stacks or defined $burntool_stats or defined $dbname;
 
 # Configurable parameters from our config file.
@@ -282,7 +282,4 @@
 unless(defined($camera)) {
     $camera = 'GPC1';
-}
-unless(defined($dbname)) {
-    $dbname = 'gpc1';
 }
 
