updated plotting scripts