updated to follow new wizni workflow interface