reworking pvload.sh