modified the Tabbar  scripts