Tighten up output style-generation script