Now uses DB from config file