rewrite boot-elements