Better parsing of the configuration file