Now the script loads after the page is loaded... silly me