corrects some typos and add a working sample config