now it saves the parameters output to a csv