Modify parameters to OutlineGenerator.Write; rewrite build script