change template extension