I won’t post the text of the scripts here, but I’ve improved the RSA-704 “Lottery” script with Phil’s suggestion. I also created a variant that uses a Rabin-Miller-inspired module to try to more intelligently create the large possibly-prime numbers being used as trial factors. Think of it as “aim and shoot” as opposed to the massive amount of wild, flailing trial factors generated by the Lottery script.

The new scripts: