Added functionality for properly loading timestamps of tasks, and optimize them