additional changes to image uploader