1. add script <cd to path of main.sh> to main.sh, this make main.sh can run in any current directory; 2. add directory tmp to put testing code