Better Shell Compatibility with Older Shells for Control Script