Save view file before running