Add script load to main page