Hmm... it seems this script combination doesn't always work, sometimes the solution gets dropped, even if it is marked "persistent."
We'll see what we can do about this in doctrine and developing some scripting parameters for you to work with.
If any of you have found a reliable way of doing this, that would help us a lot!