Replacing old BNDX script with new