edited config to work with new db functions