placing the script in the page