Hi, I apologize for such a late reply, I totally missed this back when I got sick for 2 weeks.
Scripts should end in .ks (to prevent windows from flagging javascript files as a virus) and dont have to be in any particular folder. They are executed in alphabetical order. If you put them in folders they will follow folders alphabetically, probably.
I would look at the newartwork branch and lookup KinkyDungeonRestraintsList, that file should have the full list of restraints, all 500 or so.