Added configurable flag value decrease on capture.