Edit admin, client, and server shell scripts so they work on Linux and MacOSX.