Adds background option to add-index!