changed text size to be dependent on dimensions file