Added --dont save if nothing in the object--not perfect just ok for studying