Added support for templates installed in home folder