set script page as default index