implement --compare flag for view_restart.py