Bug fix when creating a copy of the reuse script model