added rm *.csv command to prevent lumerical from appending to output rather than overwriting