modify copy script