Hqmfr2 template map

Again... some common code here that could get pulled out of the case statement