A script that... writes another script?  This can be useful, but it's not common practice.