pass the options as an int to allow flags combination.
updateprojectfile no longer needs to read mesh files.