Post deleted by Ruteger
Does the cube you try to map has bevels? I never that script, but maybe it leaves out bevels (working only on primitive-like boxes).
More details would help track the problem.
Salutations - CheersBernard Lebel