added script to bd