I thought the same, hence the second option: create the templates only when they are not already there.