Added global options r, root.