Only use one time variable.
Optimize the cipher execution.
Fixed the CSV output.