fix cutflow script