I believe (and I don't work on either project, so don't necessarily take my word, but I did a diff and looked at the differences) that you should keep the BUG version of that file. It's the same as the BBAI version except it adds some python callbacks.