Added reduce flag to the fork.