Adding in a few configuration options so that this can be used with postgres