use full path for config file and template dir