added strange config parser