added lineplot script and pvendpoints