Added stacked query module