Added the option of reading local configuration