Extend merging script with hint tablock