Made PG goto DB for production and development