Changed readConfigOption() to not use a tmp variable.