Changed protocal for calling client.rb