added ability to use template files