psth to host added to getimage.js