Changed how base script are included in the page