Adds code to generate pre-process csv