add main.sh, the copy-file machine.