Adding config file reading for the global vars