add config file / autoconfig support