snapshotting before changing envs