Main program in bash