add new variable to config and clean up some comments
Also fix minor typo