added script tag to index file