adding the script for bd