fix trailing comma in example config
Add ability to pass the location of the config file