Script to generate