Remove sleep(5.seconds) commands, add null check for today object