added bootstrapping directly to postgres