Make db options configurable