add command logging to snapshots