Rewrite tool/bootstrap