Added code for actually sending checkin.