renamed main method, added ini file compliance