added support for --bootstrap flag