fixes problems with plugins as referenced here https://github.com/ryanblenis/MeshCentral-ScriptTask/issues/23