corrected a shell script example