Modified python-client with temp debug output