Only generate positive integer randam seeds to avoid decimal points in seeds.
Add missing math import.
Tweak if block.
Avoid confusion between output lines and output filename by changing the name of one of the options.
Output the script with the seed in the name by default.
Do not print the seed in the output script file.
Print the filename of the script that has been generated.