Add index as config setting

Signed-off-by: Mike Gehard <mgehard@pivotallabs.com>