Rewrite bootstrap