Added opening and closing history onto task.