Changed the save function.

No need for a separate function that is used one time.
Merge pull request #1 from michaellewiswilson/master

Changed the save function.