Moved SetTabs and SummarizeTabs functs to script visibility.