Changed protocol for calling client.rb