added capability to upload bin data