Some shell script improvements