My sector generator script is now in the Roll20 API script library. I use it to generate all of my sectors (with extremely tiny tweaks, usually to place particular mood or custom rules about scrap), except for special sectors and settlements.
Instructions here (enjoy): https://www.smokeraven.com/mutant-year- ... -generator