Added base-index option