added support for cmd+enter execution