Initial try at changing ruby scripts on clone
[#75135688]
Regexp in measure replacement not working, need to update test files too

[#75135688]