MFI-11 modifications in python script