adding cut flow plotting