Make durations configurable