getting the bootable code right