Fix postgres path and change some stuff