changes to mac_copy_files