Added global flag to doc