added mask plot script