component 0.19.7 start make use of templates

Component convert is removed at 0.19.8. The old script would make user confusing.