Simple dispatcher and protocol for shell-based plugins, an alternative to hook scripts