Flexible load of layers

Hello, I hook up to the interesting topic.
loadPresetAsync script on this page loadPresetAsync - HALion Script - Steinberg Developer Help or similar script, could be good a good choice and easy to apply.
But I don’t know if it is only a my problem, when I reload a saved preset with a “replace layer” function, Halion crash. It is very frustrating…
I use Mac OSX.

thanks