copy over the right template