Fixed bug where getConfig did not handle names with "-" in them. Also