Changed host name in client script and added rank output to server