Made changes to how data is saved and loaded.