Fixes for bourne shell conversation.
Convert hue_sleep to work with sh.