Generate function to get or set global options