Updating cmtool.sh variables to match .json templates