get data from ini file, improved loading