Run: save document before running