minor fixes, add example config