add ratio plot. update plotting script