Added option to merge template with reset