test1.sh, test2.sh, test3.sh with new Algorithm