index scripts updated