more shell script revisions