updated build scripts and .gitignore