Changed zip and unzip
Test for indices