Added interval setting.