Can now export the right xml if used correctly. uploading images now works