Add $last-flow setting