upload agent task now receives a distro parameter