use new way of defining global options