added palview script