Store history in storage if possible