Added support for engine plugin mode