Now also accepts global options