modified build script