main and iniconfig