changed scripts->index