fixed few typo's in main2.sh