some file alterations and trying to use postgres