use tm-define to avoid insure script in saved documents