Added reupload functionality