Added option to shorten tab names