Access to bpmnJs > additionalModules via cockpit plugin

Hello, im currently developing a plugin that change task templates from the diagram on cockpit, i can get it to work by adding the file to the bpmnJs/additionalModules in the scripts/config.js

in my modeler plugin i simply use:

import { registerBpmnJSPlugin } from “camunda-modeler-plugin-helpers”;

import CustomTaskTemplates from “./addons/CustomTaskTemplates/CustomTaskTemplates”;

registerBpmnJSPlugin(CustomTaskTemplates);

and its done

in the tomcat edition i need to add it to the

server\apache-tomcat-9.0.85\webapps\camunda\app\cockpit\scripts\config.js in the bpmnJs>additionalModules

im currently developing it to the Camunda 7 Run, i have a class that load the plugin but, how can i get to load in the correctly place?