fix ranking interpretation in script