added reading some settings from config file