Added reading settings from ini file