Two helpful scripts when building/setting up indices