Changes to send a last hit