Script to view OAI index