Added config.cfg
Fixed some errors