Updated to use local Postgresql server