Create bgbuild.sh