Added config.Duration to parse durations