Updated the build script generation