Fixed issue #2833 supporting also executionMode via config