Updated plugin for work with DNN 6