Unified script generators. Resolved #213.