Added code to save/load the last published date.