add config dir def and change config name