changed xiveley upload to seperate thread