add save-to-spreadhsheet functionality