Added support for absolute path declaration for templates