Implemented site aggregation of flex and also scenario for whole chain of elements.