changes pg to run in development and production environs