script to list index keys