enhancements to shellscript