added a function to save and unload zones.