Make the offset configurable