Fix script BD