modify kill client script