[CODES] update build script