move the template to the correct location