bug fix script python