several changes allowing figshare upload