Trying to be a little more intelligent with photosave.