Updating plotting script