Converting the pvupload recipe