Update generation script