moved setupweight to bottom of document, fixes main page course issue