updated support for calling plugin without selector