If you modify any Mabox scripts, you can copy them to ~/bin first, and modify them there.
Then they will not be overwritten by updates. ~/bin has priority over /usr/bin or /usr/local/bin
Although I have done this trick for some script, after then I had lost the new features/corrections, and finally it is a matter of running meld to see what is new…
But I cannot suggest anything else to solve the issue.