updated docs and fixed printing of config