Adding the dynamic generated tabs (NOT WORKING!)