Write a script to generate data.