export to .res with restraints