Added functionality for controlling the executor to use from an operatio...

...n