add plotting script