Completed client object and example script. Doesn't work though. And it's getting late