control flags added to control sample execution