index moved script around