Adds port computations to bootstrap script