Revert "bd script"

This reverts commit 206a1e0f9514b72a158ac3f4d918710a528cbbb8.