BCInterface ultimate adaptation to py script