modern db config stuff