Redoing how db parameters are read: now we can have 2 db names in config
file