Changed the copy script