Removed functions that would not work with standard bourne shell