add script from index page