minor adjustments to config file reading
removed depencency on WWW::Curl