Added ability to create overrides with a duration