Added output tab functionality