Add script for pv