Making up of main.sh