Fix assertion
Introduce connection and operation settings
Separate global and task specific settings
Replace execution and shell settings with operation settings