Batch change inline path end attributes

I am trying to create a new master for an in-line font and change the stroke weights on a new master while also keeping the end point of the strokes the same attribute. I know about MekkaBlue Paths > Batch-Set Path Attributes but when I’m using it, it changes all the end points to round. Is there a way to keep the same attributes or at least batch them?

You can change the stroke with a script like that:

path.attributes["strokeWidth"] = 120

I just adjusted the Batch-Set Path Attributes to have checkboxes that you can choose what attributes to set.

Thank you so much! Perfect