convert plugins to new dsl. change system according to pr comments.