Added readConfig Functions