add bf-mode configurations.