Change how default index is defined