Added plot saving tweaked file saving