add process monitor for plugin