Like others, I found it a little annoying that the script would only work with the first 8 guns, and since it only required changing a few digits here and there, I made the alterations to make it work with 10, and I thought I'd throw up a link to the altered files for those who can't be bothered making the changes themselves.
Because of the way the old array is copied when you edit a profile, you can't just edit existing profiles and add the new weapons, you'll need to delete your old weapon loadout profiles and recreate them, but as long as a profile was created with the modified version, you can edit them just fine.
Also note I've only included the two scripts that needed modifications, you'll still need to have the original version installed first.
WSE_mod.zip
Many thanks to Winds of Boreas for this extremely useful script!
The only thing that keeps me sane is my collection of singing goldfish.