Minor fixes in load script. Works on DPD.