Added script to generate closure files