You can create additional server scripts by querying a script and specifying the FORMAT=FILE and OUTPUTFILE parameters. You can use the resulting output as input into another script without having to create a script line by line.
query script srtl2 format=raw outputfile=newscript.script
query script srtl2 format=file outputfile=newscript.script
define script srtnew file=newscript.script