updated Python Script client