moves templates to correct locations