move kill back inside sh command