adding template extension to regitry