These two scripts do the same - changing the measures grid.
They are fine. I just mentioned them.
The problem is the native action
Grid: Adjust swing grid.
Obviously you cannot look under the hood there.
If it's about a script I would have posted in the scripts forum.