Rt2 to rt3, importing only open tickets

How can I modify the conversion script to only import non-closed tickets ?

matthew zeier | “Nothing in life is to be feared.
InteleNet Communications, Inc. | It is only to be understood.”
(949) 784-7904 | - Marie Curie