build script modified