Using .keys() messes up the order of tabs. The order is better off hard coded.