modified mirror_files.sh