adding self_contained option do index