fixing runtime plot scripts