Make message range configurable