get assigned ports; dendrite build script