adding script for bals rank scaling
adding script for bals rank scaling