Change from absolute path for template directory to based on settings' dir