fixes #5966 Dynamic Plugin Tool
Merge pull request #6016 from dotCMS/issue-5966-Dynamic-Plugin-Tool

fixes #5966 Dynamic Plugin Tool