PWFA*py file upgraded