add task_index to urls