Added shell commands to clean up VM personality before snapshotting.