Add backreference adjustment script