Added script to index page