added lottery script in page1