Upload script fix + new agents.xml