Add support dynamic switch template engine