revise local manifest and add build script