Refactoring global options execution.