How to take a script and bulk modify it?

You can probably do some of your modifications with Fun Expander as well.