rewrite boot and load