add remote download handling