Rewrite global options