modified build script for git