move templatesExist to Target