Added reading settings from Configfile