Script handles dates better by using latest entries from each account.