Currently there are 12 scripts deployed on sales orders. One of them is over 11k lines long and has dozens of entry point functions managed by a "dispatcher" class that throws them all into an object and calls them one at a time but has no way to order them.