bash not shell, move to functions, add y/n options