Add index to build