fixing build script