updated generator script to show progess