add config-file support, etc.