Do not switch to diagnostics when not called interactively