build script updated for Git