BD config main