make bootloader better configurable