change define()-based configs to config.ini