working download agent with tets