Changed to using ConfigParser for config file