modify localboot and handle sections differently