added global options back in