Reworked to accommodate bootstrap from configuration bootstrap from stdin