Update .gitignore and build script