(edit) Wrong forum, sorry... Belongs to X4 modding of course. Solution below for anyone interested... @Mods : Feel free to delete or move.Thanks
i would very much appreciated a small help from the talented modders here

After looking into some other mods that also change wares.xml it seems one can not simply change the file, but I have to use some commands like "replace" or "DIFF" in my mod file, but I can't get the synthax right.
So I would be really happy if someone can help me out here, i want to play this scrap thing so much, but the current implementation is just tedious and pointless from an economic view (by the time I have the money for this setup, i can simply build tons of hullpart and claytronic factories myself.)
These are the copied entries from wares.xml with my change already included. How must I write the synthax for wares.xml to accept this change in the game ?
Thank you very much in advance for helping !
<ware id="claytronics" name="{20201,501}" description="{20201,502}" factoryname="{20201,504}" group="shiptech" transport="container" volume="24" tags="container economy stationbuilding">
<price min="1734" average="2040" max="2346" />
<production time="900" amount="108" method="default" name="{20206,101}">
<primary>
<ware ware="antimattercells" amount="100" />
<ware ware="energycells" amount="140" />
<ware ware="microchips" amount="160" />
<ware ware="quantumtubes" amount="100" />
</primary>
<effects>
<effect type="work" product="0.34" />
</effects>
</production>
<production time="300" amount="60" method="recycling" name="{20206,1101}" tags="noplayerbuild recycling">
<primary>
<ware ware="energycells" amount="3000" />
<ware ware="scrapmetal" amount="125" />
</primary>
<effects>
<effect type="work" product="0.34" />
</effects>
</production>
<icon active="ware_claytronics" video="ware_claytronics_macro" />
</ware>
<ware id="hullparts" name="{20201,1201}" description="{20201,1202}" factoryname="{20201,1204}" group="hightech" transport="container" volume="12" tags="container economy stationbuilding">
<price min="146" average="209" max="272" />
<production time="900" amount="294" method="default" name="{20206,101}">
<primary>
<ware ware="energycells" amount="80" />
<ware ware="graphene" amount="40" />
<ware ware="refinedmetals" amount="280" />
</primary>
<effects>
<effect type="work" product="0.37" />
</effects>
</production>
<production time="900" amount="294" method="teladi" name="{20206,401}">
<primary>
<ware ware="energycells" amount="80" />
<ware ware="graphene" amount="40" />
<ware ware="teladianium" amount="204" />
</primary>
<effects>
<effect type="work" product="0.37" />
</effects>
</production>
<production time="300" amount="200" method="recycling" name="{20206,1101}" tags="noplayerbuild recycling">
<primary>
<ware ware="energycells" amount="1500" />
<ware ware="scrapmetal" amount="50" />
</primary>
<effects>
<effect type="work" product="0.37" />
</effects>
</production>
<icon active="ware_hullparts" video="ware_hullparts_macro" />
</ware>
<ware id="scrapmetal" name="{20201,6601}" description="{20201,6602}" factoryname="{20201,6604}" group="refined" transport="solid" volume="10" tags="economy recycling solid">
<price min="318" average="375" max="431" />
<production time="60" amount="1" method="processing" name="{20206,1301}" tags="noplayerbuild recycling">
<primary>
<ware ware="energycells" amount="3" />
<ware ware="rawscrap" amount="1" />
</primary>
</production>
<icon active="ware_scrapmetal" video="ware_scrapmetal_macro" />
</ware>