change plugins and scheduler structure