Modified template file in order to support duration timestamps