adding loadstatic files to the top of some pages