added macros to copy files