add ability to set global options