add an run script and Client sample code