Add the auto indexing to end of build