rewrite kill command