starting to add auto-config support
add config file / autoconfig support