fixed client.sh