updated defaul to use postgresfor production as well