Pivot centering being ignored.

I have been working on a script for Renderware objects, pretty much understanding more about maxscript. Exporting models or collisions the pivot information within that objects mesh is being lost regardless of setting the pivot to the centre of that selected object by [Effect pivot only] center to object or and [Allign to object] center to pivot in the heirarchy settings?

I seem to end up with the pivot information related to the whole scene being saved to the models and collisions.


These images show the pivot being badly offset.