scripts bd