Saving almost working except for a couple of small glitches which I will try to figure out