Improved code formatting.
Implemented settings override by index.Meta as per docs.