fixed buildProject.sh to use the correct SetVideoOptions and other things