started adding output upload support