bugfix share and run, enabledWhen implemented