Simplify generation. Add broken check button.
Simplified generator.