use servers from table in database, added server name as first argument to search function, minor yak-shaving with $debug option.