patch script to get rid of bc requirement