Changes everything to connect to postgres database