Rename 'flow' to 'userFlow'