modify copy file scripts