added script to test the indices and print annotations