Added domain support to bootstrap generator.