corrections to the shell scrptwq