Fix #4. Add support for configuring a non-default DB