made buildProject.sh better