Storing logs script indexed by Product Names