move config.ini parsing into global