4.2-51: Made script into one thing to avoid cases of it being undefined
Merge branch '4.2-51' of https://github.com/southpawtech/TACTIC-DEV into 4.2-51