added support for multiple different database configurations at the same
time