improve documentation and example config file