Trying to refactor the code to generate dashboards for every plugin