Fix local Postgresql and other stuff.