Make line indices configurable