postgres connection issues, fixed some pathing issues