Modified the copy script a little