Updated to use postgres in prod