Fixed bug in config parser script