updated copy script