Some changes to the buildscript and gitignore