a patching script to cut over to bn