Fix wrong fact name and allow configfile to be a static file or template