I was getting picky, but probably unnecessarily so... I've updated to use the tmg variable.