--- ./addsearch.orig	1998-07-01 19:02:53.000000000 -0400
+++ ./addsearch	2009-07-07 22:30:26.558090161 -0400
@@ -121,12 +121,12 @@
 
 # Initialize variables to avoid warnings
    ($title, $archiveurl, $traverse_type, $explicit_only, $numhops,
-    $nhhops, $local_limit, $remote_limit, $addboxes, $vhost, $usemaxmem) = 
-   ('','','','','','','','','','','');
+    $nhhops, $local_limit, $remote_limit, $addboxes, $vhost, $usemaxmem, $locale, $charset) =
+   ('','','','','','','','','','','','','');
 
 
    ($title, $archiveurl, $traverse_type, $explicit_only, $numhops,
-    $nhhops, $local_limit, $remote_limit, $addboxes, $vhost, $usemaxmem, @urllist) = ReadConfig($archivepwd);
+    $nhhops, $local_limit, $remote_limit, $addboxes, $vhost, $usemaxmem, $locale, $charset, @urllist) = ReadConfig($archivepwd);
 
 ### HUH?  What does this code do?  Can we remove it?
 ###       here just in case.
@@ -155,7 +155,7 @@
 
 # if we don't have to addboxes, just abort!
 if($addboxes==0) {
-   print "No search boxes used\n";
+   print "No search boxes used\n" if (!$quiet);
    exit(0);
 }
 
