changed a couple of scripts to support multi-db conn pools