build script fixed