moving template to correct location