Add continually adding Midnight checking code