added dump key, support sparseConfig datadir override