Adjusted and renamed plot script