move bootstrap loading to bootloader