add plugins and set up config