fix client deploy script