Update plotScript