set up external template files