added a debug save command