Extend xlreg script to interpret the boot mode.