adding -OO flag for python calls