Added history-limit configuration