Added options to save & load functions.