Added duration calculations to import