graceful failure for missing template engine
Merge branch 'checkTemplate'
Added graceful failure for missing templates.