Add replay part
Bug fix and make sure time is utc form