Jay,
If I read it correctly it sounds like you are compressing to crimp diameter, expanding to design diameter, then pulling axially a certain amount. If you cannot constrain one side of the stent to always be restricted axially, there is another way without having to write scripts. Need to...