add separate function to handle binstar upload