Put the browse flag back and fixed some file existence checks.